<?php defined('BASEPATH') OR exit('No direct script access allowed');
$config = array(
    array(
        'field' => 'id',
        'label' => 'lang:admin_id',
        'rules' => 'trim'
    ),
    array(
        'field' => 'name',
        'label' => 'lang:admin_name',
        'rules' => 'trim|required'
    ),
    array(
        'field' => 'deptId',
        'label' => 'lang:admin_dept_id',
        'rules' => 'trim'
    ),
    array(
        'field' => 'email',
        'label' => 'lang:admin_email',
        'rules' => 'trim'
    ),
    array(
        'field' => 'image',
        'label' => 'lang:admin_image',
        'rules' => 'trim'
    ),
    array(
        'field' => 'mobile',
        'label' => 'lang:admin_mobile',
        'rules' => 'trim'
    ),
    array(
        'field' => 'password',
        'label' => 'lang:admin_password',
        'rules' => 'trim'
    ),

    array(
        'field' => 'status',
        'label' => 'lang:admin_status',
        'rules' => 'trim'
    ),
    array(
        'field' => 'truename',
        'label' => 'lang:admin_truename',
        'rules' => 'trim'
    ),
    array(
        'field' => 'userRoles',
        'label' => 'lang:admin_userRoles',
        'rules' => 'trim'
    ),

);